# Widget function parameter test

This tests specifying a function name as a parameter to a widget. In this case, the specified function will override the function inside the widget, rather than connecting (dojo.event.connect) after.

Clicking this button should cause both the "default click handler" and the custom handler to fire.

If you click this button, only the widgetClick handler should fire: